package org.ekingstar.qd.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * AbstractCatalog entity provides the base persistence definition of the
 * Catalog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractCatalog implements java.io.Serializable {

	// Fields
	private List childen = new ArrayList(); 	
	private String catalogId;
	private Catalog parentCatalog;
	private String catalogName;
	private String bmId;
	private long orderid;
	private String descript;
	private String functionId;

	// Constructors
	
	/** default constructor */
	public AbstractCatalog() {
	}

	/** minimal constructor */
	public AbstractCatalog(String catalogId) {
		this.catalogId = catalogId;
	}

	/** full constructor */
	public AbstractCatalog(Catalog parentCatalog,
			String catalogName, String bmId, long orderid, String descript, String functionId) {
		this.catalogId = catalogId;
		this.parentCatalog = parentCatalog;
		this.catalogName = catalogName;
		this.bmId = bmId;
		this.orderid = orderid;
		this.descript = descript;
		this.functionId = functionId;
	}

	// Property accessors
	public List getChilden() {
		return childen;
	}
	public void setChilden(List childen) {
		this.childen = childen;
	}
	
	public String getCatalogId() {
		return this.catalogId;
	}

	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId;
	}

	public Catalog getParentCatalog() {
		return this.parentCatalog;
	}

	public void setParentCatalog(Catalog parentCatalog) {
		this.parentCatalog = parentCatalog;
	}

	public String getCatalogName() {
		return this.catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	public String getBmId() {
		return this.bmId;
	}

	public void setBmId(String bmId) {
		this.bmId = bmId;
	}

	public long getOrderid() {
		return this.orderid;
	}

	public void setOrderid(long orderid) {
		this.orderid = orderid;
	}

	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}
	

	public String getFunctionId() {
		return functionId;
	}

	public void setFunctionId(String functionId) {
		this.functionId = functionId;
	}
}